package com.example.demo.A;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.swing.*;
@RestController
@RequestMapping("/hello")
public class Hello {
   @GetMapping("")
    public String hello(){
       System.out.println("Hello");
       return "Ok";
   }
}
